import config


class TenderApi:

    def __init__(self,session):
        self.session = session

    #投资接口
    def tender_api(self,data):
        url = config.Host+"/trust/trust/tender"
        headers = {"Content-Type": "application/x-www-form-urlencoded"}
        resp = self.session.post(url=url,headers=headers,data=data)
        return resp